home *** CD-ROM | disk | FTP | other *** search
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ SIDIS/2 - Small Internet Dial-In Server Package for OS/2 │
- │ *** PUBLIC BETA TEST *** (until 05/30/96) │
- │ (C) 1996 Axel Mueller │
- │ Email: amueller@stargate.rz.fh-offenburg.de │
- │ (for questions, suggestions & bug reports ) │
- │ Official FTP site: ftp://stargate.rz.fh-offenburg.de/sidis │
- └────────────────────────────────────────────────────────────────────────────┘
-
- As you already may guess this software package is designed to give people
- access to the LAN or Internet via a LAN connected PC and up to 4
- (2 currently tested) modems.
- It has grown over the last 1 1/2 years out of the need to provide efficient
- and reliable Internet access for students of our campus.
- Since the package is in daily use for quite some time at our campus I
- don't expect to receive many bug reports. Maybe I am wrong ;-))
- Out of my expectations I have set the beta test period only until 05/30/96
- after which all programms will refuse to work. At least shortly before this
- date there will be a new version which most likely will be Shareware at
- very reasonable registration fees.
- The SIDIS/2 package contains programms for 2 major areas:
-
- - EMAIL SERVICES (POP3 server, mail processor)
-
- - MODEM SERVICES (modem control, user access control)
-
-
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ Content │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
- 1. Legal stuff
- 2. Features
- 3. System requirements
- 4. Network structure
- 5. Installation of Email Services
- 6. Installation of Modem Services
- 7. Conclusion
-
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ 1. Legal stuff │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
- IF YOU DOWNLOAD OR USE THIS PROGRAM YOU AGREE TO THESE TERMS.
-
- Under no circumstances I am liable for any of the following:
-
- 1. third-party claims against you for losses or damages;
- 2. loss of, or damage to, your records or data; or
- 3. economic consequential damages (including lost profits or
- savings) or incidental damages
-
- I do not warrant uninterrupted or error free operation of the
- Program. I have no obligation to provide service, defect
- correction, or any maintenance for the Program. I have no
- obligation to supply any Program updates or enhancements to you
- even if such are or later become available.
-
- THERE ARE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE.
-
-
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ 2. Features │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
- ALL PROGRAMMS
-
- - ONE user database (OS/2 INI-file)
- - Passwords stored encrypted in user database
- - extensive user information stored in user database
- - all programms operate in VIO mode meaning that they can exectuted in
- telnet sessions
-
-
- ACCOUNTS.EXE - Manage user accounts
- (Location: C:\USERCTRL)
-
- - There is a syntax help if you start the program without any arguments:
-
- ┌─────────────────────────────────────────────────────────────────────────────────┐
- │ accounts.exe v0.98/Apr 14 1996 │
- │ (C) Axel Mueller (amueller@stargate.rz.fh-offenburg.de) │
- │ │
- │ Usage: accounts -a <user> <password> <Real name of user> │
- │ accounts -p <user> <password> │
- │ accounts -<f|fc> <user> [forward address] │
- │ accounts -<d|r> <user> │
- │ accounts -m [program] │
- │ accounts -<l|dm> │
- │ accounts -s <user> [size] │
- │ accounts -sd [size] │
- │ accounts -e [size] │
- │ Flags: │
- │ -a add user and assign password; real name may contain spaces between names │
- │ -d[p] display user/[programm + mail processor] record │
- │ -e max size of mail for encryption in KB │
- │ -f forward mails to forward address; ommit forward address to stop │
- │ -fc forward copies to forward address; ommit forward address to stop │
- │ -l list all user │
- │ -m define mail processor e.g. -m d:\mailproc.cmd │
- │ -p assign password to user │
- │ -r remove user │
- │ -s max size of mailbox in KB for user; ommit size to remove │
- │ -sd max default size of mailbox in KB for all users; ommit size to remove │
- └─────────────────────────────────────────────────────────────────────────────────┘
-
- - After some time the user record may look like this ("accounts -d"):
-
- ┌─────────────────────────────────────────────────────────────────────────────────┐
- │ accounts.exe v0.98/Apr 10 1996 │
- │ (C) Axel Mueller (amueller@stargate.rz.fh-offenburg.de) │
- │ │
- │ *** User record per 14.04.1996 12:52:04 *** │
- │ GENERAL │
- │ User: Axel Mueller (amueller) │
- │ Record created: 08.04.1996 22:33:31 │
- │ Last password change: 08.04.1996 22:33:32 │
- │ MODEM │
- │ First/last login: 09.04.1996 17:10:07 / 14.04.1996 08:58:19 │
- │ Login number/time: 00014 / 000:01:21:04 d/h/m/s │
- │ MAIL │
- │ Max mailbox size: 700 KB (general) │
- │ First/last POP3 check: 09.04.1996 09:49:13 / 13.04.1996 10:40:01 │
- │ Mails received/in mailbox: 00002 / 00000 │
- │ First/last mail received: 09.04.1996 19:07:10 / 12.04.1996 22:50:42 │
- └─────────────────────────────────────────────────────────────────────────────────┘
-
- - You can also define and display some programm settings ("accounts -dp"):
-
- ┌─────────────────────────────────────────────────────────────────────────────────┐
- │ accounts.exe v0.98/Apr 10 1996 │
- │ (C) Axel Mueller (amueller@stargate.rz.fh-offenburg.de) │
- │ │
- │ *** Settings for MAIL *** │
- │ MAIL PROCESSOR │
- │ Program: c:\userctrl\mailproc.cmd │
- │ Record last updated: 09.04.1996 09:44:21 │
- │ First/last mail received: 09.04.1996 09:45:00 / 11.04.1996 10:56:27 │
- │ Mails received: 00012 │
- │ ENCRYPTION │
- │ Max mail size: 20 KB │
- │ last updated: 10.04.1996 09:49:23 │
- └─────────────────────────────────────────────────────────────────────────────────┘
-
-
-
- MAIL.EXE - sorts incoming mail in user mailboxes (mail directories)
- (Location: C:\TCPIP\BIN)
-
- - stores mails encrypted; a maximum encryption size can be defined to avoid
- system overload
- - mail forwarding; if there is a forward address specified for the receipent
- the incoming mail will be forwared immediately.
- The incoming mail can be kept (COPY FORWARD) or deleted (FORWARD).
- - loop detection for mail forward; each mail forwarded will get a header
- attached to it for information of the receipent and to prevent a mail loop
- - mail processor; if a mail for a special user ("system") comes in, a programm
- ("mailproc.cmd" - see there) is invoked to process this mail and send out a
- response email immediately
- - Maximum disk space allocated by emails can be defined as default for all users
- or user specific (or both). If a email is coming in which would exceed this
- disk space it will be rejected
- - produces detailed log file in C:\TCPIP\ETC
-
-
- POP3D.EXE - POP3 server
- (Location: C:\TCPIP\BIN)
-
- - supports all POP3 commands and extented POP3 commands (except APOP)
- - decrypt mails before transmission
- - supports INET server
- - very robust - no problems with mailbox containing more than 1.000 mails
- or with very large mails
- - produces detailed log file in C:\TCPIP\ETC
-
-
-
- MAILPROC.CMD - automatic mail processor
- (Location: C:\USERCTRL)
-
- - implemented as REXX script and therefore highly configurable
- - "help" mail as resonse to mails with incorrect syntax or to help
- requests (see below)
- - users can maintain their passwords and mail forward settings themselves
- - produces detailed log file in C:\TCPIP\ETC
- - already implemented features:
-
- ***********************************************************************
- * = SYNTAX FOR MAIL PROCESSOR v0.98 = *
- * (C) Axel Mueller, 1996 (amueller@stargate.rz.fh-offenburg.de) *
- * *
- * All commands must be given in the SUBJECT! *
- * Commands and parameter(s) must be separated by SPACE! *
- * All commands start with <user> <password> and are followd by *
- * <command> and <parameter(s)> *
- * *
- * change_password <new password> *
- * forward_mail <forward address> *
- * forward_copy <forward address> *
- * stop_forward *
- * *
- * Instead of the commands above you can use the following short cuts: *
- * <command> <short cut> *
- * *
- * change_password c_p *
- * forward_mail f_m *
- * forward_copy f_c *
- * stop_forward s_f *
- * *
- * You will receive a confirmation mail immediately after your *
- * mail has been received by the mail processor. *
- * *
- ***********************************************************************
-
-
-
- USERCTRL.CMD - modem control/user access control for dial-in users
- (Location: C:\USERCTRL)
-
- - implemented as REXX script and therefore highly configurable
- - this script runs once for each modem connected
- - should work well with 4 modems (2 currently tested)
- - produces detailed log file and connection log file in C:\USERCTRL\LOG
-
-
-
- RXPRF.DLL - provides user database access functions from REXX
- (Location: C:\USERCTRL)
-
- - used by mail processor (MAILPROC.CMD)
- - used by modem control script (USERCTRL.CMD)
-
-
-
- RXIOCTL.DLL - provides asyncronous I/O functions from REXX
- (Location: C:\USERCTRL)
-
- - used by modem control script (USERCTRL.CMD)
-
-
- REG_PRF.CMD - registers functions RXPRF.DLL
- (Location: C:\USERCTRL)
- REG_IO.CMD - registers functions RXIOCTL.DLL
- (Location: C:\USERCTRL)
- REG_UTIL.CMD - registers functions RXUTIL.DLL (comes with OS/2)
- (Location: C:\USERCTRL)
-
- UC1.CMD - starts 1st copy of USERCTRL.CMD which serves COM1
- (Location: C:\USERCTRL)
- UC2.CMD - starts 2nd copy of USERCTRL.CMD which serves COM2
- (Location: C:\USERCTRL)
- UC3.CMD - starts 3rd copy of USERCTRL.CMD which serves COM3
- (Location: C:\USERCTRL)
- UC4.CMD - starts 4th copy of USERCTRL.CMD which serves COM4
- (Location: C:\USERCTRL)
- PPP1.CFG - PPP configuration file for modem 1
- (Location: C:\TCPIP\ETC)
- PPP2.CFG - PPP configuration file for modem 2
- (Location: C:\TCPIP\ETC)
- PPP3.CFG - PPP configuration file for modem 3
- (Location: C:\TCPIP\ETC)
- PPP4.CFG - PPP configuration file for modem 4
- (Location: C:\TCPIP\ETC)
- WELCOME.MSG - login screen sent to modem users after CONNECT before login procedure
- (Location: C:\USERCTRL)
-
-
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ 3. System requirements │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
- - Hardware suggestion: 486-DX40 with 16 MB RAM
- - OS/2 Warp + TCP/IP 2.0 + CSD UN64092
- - OS/2 Warp Connect
- - PPP.EXE 2.0 Revision: 1.17 24 Oct 1995 13:57:56 (or newer)
- [ftp://testcase.boulder.ibm.com/ps/fromibm/tcpip/IC12657/IC12657.ZIP (1.06 MB)]
- - HPFS *HIGHLY* recommended (otherwise the length of usernames is restricted
- to 8 characters (You may try FAT but it was not tested !)
-
-
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ 4. Network structure │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
-
- ┌─────────────────┐
- │ remote "host1" │ ---
- │ xxx.yyy.zzz.11 │-Modem--(Telephton network)--Modem1---. |
- └─────────────────┘ | |
- | | Net xxx.yyy.zzz
- ┌─────────────────┐ | |
- │ remote "host2" │ | |
- │ xxx.yyy.zzz.12 │-Modem--(Telephton network)--Modem2-. | |
- └─────────────────┘ | | |
- | '-┌─────────────────────┐
- '---│ "modem-host" │
- .---│ xxx.yyy.zzz.10 │
- | .-│ Ethernet Address │
- ┌─────────────────┐ | | │ 00:00:C0:04:F7:37 │
- │ remote "host3" │ | | │ │
- │ xxx.yyy.zzz.13 │-Modem--(Telephton network)--Modem3-' | └─────────────────────┘
- └─────────────────┘ | |
- | |
- ┌─────────────────┐ | ┌─────────────────┐
- │ remote "host4" │ | │ default router │
- │ xxx.yyy.zzz.14 │-Modem--(Telephton network)--Modem4---' │ xxx.yyy.zzz.254 │
- └─────────────────┘ └─────────────────┘
- |
- '----<INTERNET>
-
-
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ 5. Installation of Email Services │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
- 1. copy each file extracted from this archive to the location stated in
- chapter 2. Add C:\USERCTRL to your PATH and LIBPATH in CONFIG.SYS.
- 2. add the following lines to CONFIG.SYS:
- SET HOSTNAME=myHostname
- SET MAILDIR=C:\MAIL
- ETC and TMP are needed as well but should already be set by TCP/IP.
- MAILDIR is the base directory under which the user mail directories will
- be created, e.g. if you create the user "spiderman" the directory
- C:\MAIL\SPIDERMAN will be created automatically.
- 3. To reduce system load I would suggest that you run the POP3 server
- together with the INET server. By doing so the POP3 server will only
- be started if actually someone wants POP3 services.
- Therefore you should create or modify the file INETD.LST (C:\TCPIP\ETC)
- as follows:
- pop3 tcp c:\tcpip\bin\pop3d.exe
- Make sure that the service POP3 is correct defined in SERVICES (C:\TCPIP\ETC).
- There should be a line like this:
- pop3 110/tcp postoffice
- Make sure your domain is specified correctly in RESOLV (C:\TCPIP\ETC).
- 4. Modify SENDMAIL.CF (editor must preserve TABS - use E.EXE/don't use EPM!!!).
- Look for "MLocal" and modify as follows:
- Mlocal, P=c:\tcpip\bin\mail.exe, F=lnsDFMP, S=10, R=20, A=c:\mail $u $f
- The Argument "A=c:\mail" specifies the base directory for mails (same
- directory as MAILDIR in CONFIG.SYS)
- In case you don't have set up sendmail already look for the "tags" (first two
- letters of the following lines - e.g. "Dw")
- Dwmodem-host
- Cwmodem-host
- DDmodem-domain.com
- OAc:\tcpip\etc\aliases
- OQc:\tcpip\etc\mqueue
- 5. Configure SETUP.CMD (C:\TCPIP\BIN).
- Replace IP numbers like xxx.yyy.zzz.??? with your unique IP numbers.
- Use the the sketch "Network structure" (chapter 3) for an overview.
- 6. Create users using ACCOUNTS.EXE ("accounts -a ...")
- 7. You can set limits for maximum disk space allocation by emails for all users
- ("accounts -sd) and/or for specific users ("accounts -s").
- You can set a maximum mail size above which mails will not be encrypted to
- reduce system load ("accounts -e")
- 8. If you want to use the mail processor you must define it ("accounts -m")
- The mail processor processes all mails addressed to "system@modem-host".
- If you want to assign another username to the mail processor, you must
- specify it in ALIASES (C:\TCPIP\ETC) like this:
- mail-processor: system
- This will result in all mails addressed to "mail-processor@modem-host" will
- be processed by the mail processor.
- 9. Sending/Receiving emails should work at this state.
- POP clients must specify "SMTP" (not POP3) for sending emails.
-
-
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ 6. Installation of Modem Services │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
-
- 1. Follow Step 1 of chapter 5 "Installation of Email Services"
- 2. Create the directory C:\USERCTRL\LOG
- 3. Configure TCPSTART.CMD (C:\TCPIP\BIN).
- UnREM as many of the "call uc1", "call uc2" lines, as you have modems installed.
- 4. UnREM as many of the "arp -s ..." lines, as you have modems installed.
- Replace "00:00:C0:04:F7:37" with the network address of the ethernet card of your
- modem host.
- 5. Configure PPP1.CFG if you have 1 modem, PPP1.CFG+PPP2.CFG if you have 2 modems ...
- Replace IP numbers like xxx.yyy.zzz.??? with your unique IP numbers.
- Use the the sketch "Network structure" (chapter 3) for an overview.
- 6. Set "ModemMax" in USERCTRL.CMD (C:\USERCTRL) to the number of modems installed.
- 7. Modify your modem user login screen to your needs
- Keep the "$" character in the last line which marks the end of the file.
- 8. Follow Steps 5 and 6 of chapter 5 "Installation of Email Services"
-
-
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ 7. Conclusion │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
- I hope I did not forget to include important information or files. If I did so
- I am sorry about it. Your emails should be answered within a day.
- If you have suggestions (especially for the mail processor) - tell me.
-
- Axel Mueller
- amueller@stargate.rz.fh-offenburg.de
-
- 04/14/96
-